package com.jing21.learn.messagr;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.messaging.SubscribableChannel;

/**
 * Created by 郑靖 on 2017/9/13.
 */
public interface ResultMessage {

    String INPUT = "input_result";
    String OUTPUT = "output_result";

    @Input(INPUT)
    SubscribableChannel input();

    @Output(OUTPUT)
    MessageChannel output();
}
